package com.easyOrder.core.exception.api;

import com.easyOrder.core.exception.ApplicationException;
import com.easyOrder.core.exception.ApplicationErrorCode;

public class UserNameNotExistException extends ApplicationException {
	private static final long serialVersionUID = 1L;

	public UserNameNotExistException() {
		super(ApplicationErrorCode.UserNameNotExist.getCode(), ApplicationErrorCode.UserNameNotExist.getReasoning());
	}

	public UserNameNotExistException(Exception e) {
		super(ApplicationErrorCode.UserNameNotExist.getCode(), e.getMessage());
	}
}
